package com.czy.owner.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by wangyang on 2017/4/18 0018.
 * 门店套餐卡项
 * *unlimitedCount 是否有次数限制 hep 2018/01/31
 */

public class PackageCardProjectModel implements Serializable {

    /**
     * note :
     * ownerShowFlag : true
     * createUserId : 32056
     * originalPrice : 78.0
     * isBindGiving : false
     * fixTimeType : 0
     * storeId : 442
     * packageType : store
     * servicePackageId : 734
     * employeesName : 13739289059
     * validityType : 0
     * fixTimeValue : 0
     * isBindPush : false
     * createTime : 1509498587111
     * price : 0.01
     * logo :
     * startTime : 0
     * itemList : [{"itemId":"2810","itemName":"服务4","itemType":"service","price":40,"specValue":null,"count":1,"logo":"未设置","servicePackageItemId":3661,"servicePackageId":734,"specGroupKey":""},{"itemId":"2641","itemName":"服务1","itemType":"service","price":2,"specValue":null,"count":1,"logo":"未设置","servicePackageItemId":3662,"servicePackageId":734,"specGroupKey":""},{"itemId":"3872","itemName":"思思品牌1就放假大家大结局大家电脑你才能处男处女烦恼你才能处","itemType":"goods","price":4,"specValue":"规格:无规格","count":4,"logo":"http://118.178.188.69:80/res/download/10596","servicePackageItemId":3663,"servicePackageId":734,"specGroupKey":"f838854c31324330854c7833ad3f5c2b"},{"itemId":"3873","itemName":"王洋专业商品","itemType":"goods","price":5,"specValue":"规格:无规格","count":4,"logo":"http://118.178.188.69:80/res/download/10597","servicePackageItemId":3664,"servicePackageId":734,"specGroupKey":"0a05f58867d541d3b02e4a1e3d188e9c"}]
     * packageName : 划卡记录测试
     * endTime : 0
     * singleUsrMaxCount : 9999
     * status : normal
     */

    private String note;
    private String ownerShowFlag;
    private int createUserId;
    private double originalPrice;
    private String isBindGiving;
    private int fixTimeType;
    private int storeId;
    private String packageType;
    private int servicePackageId;
    private String employeesName;
    private int validityType;
    private int fixTimeValue;
    private String isBindPush;
    private long createTime;
    private double price;
    private double giveAmount;
    private String logo;
    private long startTime;
    private String packageName;
    private long endTime;
    private int singleUsrMaxCount;
    private String status;
    private List<ItemListBean> itemList;
    private int currentCount = 1;

    public double getGiveAmount() {
        return giveAmount;
    }

    public void setGiveAmount(double giveAmount) {
        this.giveAmount = giveAmount;
    }

    public int getCurrentCount() {
        return currentCount;
    }

    public void setCurrentCount(int currentCount) {
        this.currentCount = currentCount;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getOwnerShowFlag() {
        return ownerShowFlag;
    }

    public void setOwnerShowFlag(String ownerShowFlag) {
        this.ownerShowFlag = ownerShowFlag;
    }

    public int getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(int createUserId) {
        this.createUserId = createUserId;
    }

    public double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public String getIsBindGiving() {
        return isBindGiving;
    }

    public void setIsBindGiving(String isBindGiving) {
        this.isBindGiving = isBindGiving;
    }

    public int getFixTimeType() {
        return fixTimeType;
    }

    public void setFixTimeType(int fixTimeType) {
        this.fixTimeType = fixTimeType;
    }

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public String getPackageType() {
        return packageType;
    }

    public void setPackageType(String packageType) {
        this.packageType = packageType;
    }

    public int getServicePackageId() {
        return servicePackageId;
    }

    public void setServicePackageId(int servicePackageId) {
        this.servicePackageId = servicePackageId;
    }

    public String getEmployeesName() {
        return employeesName;
    }

    public void setEmployeesName(String employeesName) {
        this.employeesName = employeesName;
    }

    public int getValidityType() {
        return validityType;
    }

    public void setValidityType(int validityType) {
        this.validityType = validityType;
    }

    public int getFixTimeValue() {
        return fixTimeValue;
    }

    public void setFixTimeValue(int fixTimeValue) {
        this.fixTimeValue = fixTimeValue;
    }

    public String getIsBindPush() {
        return isBindPush;
    }

    public void setIsBindPush(String isBindPush) {
        this.isBindPush = isBindPush;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public int getSingleUsrMaxCount() {
        return singleUsrMaxCount;
    }

    public void setSingleUsrMaxCount(int singleUsrMaxCount) {
        this.singleUsrMaxCount = singleUsrMaxCount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<ItemListBean> getItemList() {
        return itemList;
    }

    public void setItemList(List<ItemListBean> itemList) {
        this.itemList = itemList;
    }

    public static class ItemListBean implements Serializable {
        /**
         * itemId : 2810
         * itemName : 服务4
         * itemType : service
         * price : 40.0
         * specValue : null
         * count : 1
         * logo : 未设置
         * servicePackageItemId : 3661
         * servicePackageId : 734
         * specGroupKey :
         */

        private String itemId;
        private String itemName;
        private String itemType;
        private double price;
        private Object specValue;
        private int count;
        private String logo;
        private int servicePackageItemId;
        private int servicePackageId;
        private String specGroupKey;
        private boolean unlimitedCount;

        public boolean isUnlimitedCount() {
            return unlimitedCount;
        }

        public void setUnlimitedCount(boolean unlimitedCount) {
            this.unlimitedCount = unlimitedCount;
        }

        public String getItemId() {
            return itemId;
        }

        public void setItemId(String itemId) {
            this.itemId = itemId;
        }

        public String getItemName() {
            return itemName;
        }

        public void setItemName(String itemName) {
            this.itemName = itemName;
        }

        public String getItemType() {
            return itemType;
        }

        public void setItemType(String itemType) {
            this.itemType = itemType;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public Object getSpecValue() {
            return specValue;
        }

        public void setSpecValue(Object specValue) {
            this.specValue = specValue;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public int getServicePackageItemId() {
            return servicePackageItemId;
        }

        public void setServicePackageItemId(int servicePackageItemId) {
            this.servicePackageItemId = servicePackageItemId;
        }

        public int getServicePackageId() {
            return servicePackageId;
        }

        public void setServicePackageId(int servicePackageId) {
            this.servicePackageId = servicePackageId;
        }

        public String getSpecGroupKey() {
            return specGroupKey;
        }

        public void setSpecGroupKey(String specGroupKey) {
            this.specGroupKey = specGroupKey;
        }
    }
}
